package com.linkhub.oms.admin.modules.user.bankstatement.service;

import com.linkhub.oms.admin.modules.user.bankstatement.domain.param.UserBankStatementQueryParam;
import com.linkhub.oms.admin.modules.user.bankstatement.domain.vo.UserBankStatementExcelVO;
import com.linkhub.oms.admin.modules.user.bankstatement.domain.vo.UserBankStatementVO;
import com.linkhub.oms.common.response.PageDTO;
import com.linkhub.oms.entity.UserBankStatementEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 用户银行流水 服务类
 * </p>
 *
 * @author Frank
 * @since 2024-05-26
 */
public interface IUserBankStatementService extends IService<UserBankStatementEntity> {
    /**
     * 银行流水分页
     * @param queryParam queryParam
     * @return PageDTO<UserBankStatementVO>
     */
    PageDTO<UserBankStatementVO> getBankStatementPage(UserBankStatementQueryParam queryParam);

    /**
     * 导入银行流水
     * @param userId userId
     * @param file file
     * @return UserBankStatementExcelVO
     */
    UserBankStatementExcelVO importExcel(String userId, MultipartFile file);
}
